package com.nativetalk.service.study.search;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.study.TdNtStudyTeachDetail;

/**
 * Created by lizhun on 15/12/28.
 */
public interface StudyTeachService {
    /**
     * @Purpose  根据用户id查找用户教学记录分页
     * @version  1.0
     * @author   lizhun
     * @param    memb_id
     * @param    currentPage
     * @param    pageSize
     * @return   RetInfo
     */
    public RetInfo findStudyTeachPage(Integer memb_id, int currentPage, int pageSize);
    /**
     * @Purpose  根据用户id查找用户教学记录详情
     * @version  1.0
     * @author   lizhun
     * @param    stt_id
     * @return   RetInfo
     */
    public RetInfo findStudyTeachDetail(int stt_id);
    /**
     * @Purpose  根据教学id查找用户教学时长及教师信息
     * @version  1.0
     * @author   lizhun
     * @param    stt_id
     * @return   RetInfo
     */
    public RetInfo findStudyTeach(int stt_id);
    /**
     * @Purpose  根据教师id查找教学记录分页
     * @version  1.0
     * @author   lizhun
     * @param    tea_id
     * @param    currentPage
     * @param    pageSize
     * @return   RetInfo
     */
    public RetInfo findStudyTeachTeacherPage(Integer tea_id, int currentPage, int pageSize);
    /**
     * @Purpose  根据教学id查找用户教学记录详情
     * @version  1.0
     * @author   lizhun
     * @param    stt_id
     * @return   RetInfo
     */
    public RetInfo findStudyTeachTeacherDetail(int stt_id);
    /**
     * @Purpose  根据教师id查找正在教学的学习订单
     * @version  1.0
     * @author   lizhun
     * @param    tea_id
     * @return   RetInfo
     */
    public TdNtStudyTeachDetail findStudyTeachByTeaId(Integer tea_id);
    /**
     * @Purpose  根据学习id查找用户id
     * @version  2.0
     * @author   lizhun
     * @param    stt_id
     * @return   RetInfo
     */
    public int findMembIdBySttId(Integer stt_id);
    /**
     * @Purpose  根据教学id查找用户教学时长及教师信息
     * @version  1.0
     * @author   lizhun
     * @param    stt_id
     * @return   RetInfo
     */
    public RetInfo findStudyTeachThree(int stt_id,Integer memb_id);

}
